package com.eb.buybuybuy.bean;

import java.math.BigDecimal;

public class Goods {
    private Integer id;
    private String name;
    private String resume;
    private BigDecimal price;
    private Integer quantity;

    @Override
    public String toString() {
        return "Goods{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", resume='" + resume + '\'' +
                ", price=" + price +
                ", quantity=" + quantity +
                '}';
    }

    public Goods() {
    }

    public Goods(Integer id, String name, String resume, BigDecimal price, Integer quantity) {
        this.id = id;
        this.name = name;
        this.resume = resume;
        this.price = price;
        this.quantity = quantity;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getResume() {
        return resume;
    }

    public void setResume(String resume) {
        this.resume = resume;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public Integer getQuantity() {
        return quantity;
    }

    public void setQuantity(Integer quantity) {
        this.quantity = quantity;
    }
}
